package com.vchello.bean.entrepren;

import java.io.Serializable;
import java.util.Set;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.vchello.bean.user.User;

/**
 * 
 * @author power 项目投递信息
 */
@TableName("pro_delivery")
public class ProDelivery extends Model<ProDelivery>{

	private static final long serialVersionUID = 1L;

	@TableId("id")
	private int id;

	@TableField("name")
	private String name;

	@TableField("user_id")
	private int userId;

	@TableField("logo")
	private String logo;

	@TableField("create_time")
	private String createTime;

	@TableField("area_id")
	private int areaId;

	@TableField("fields_id")
	private int fieldsId;

	@TableField("round_id")
	private int roundId;

	@TableField("link")
	private String link;

	@TableField("bp")
	private String bp;

	@TableField("stock")
	private Float stock;

	@TableField("money")
	private Float money;

	@TableField("unit")
	private int unit;

	@TableField("contacts_name")
	private String contactsName;

	@TableField("contacts_phone")
	private String contactsPhone;

	@TableField("lables")
	private String lables;

	@TableField("open_id")
	private String openId;

	@TableField("pro_detail")
	private String proDetail;

	@TableField(exist = false)
	private Set<ProDeliveryOrganization> proDeliveryOrganizationList;

	@TableField(exist = false)
	private Set<ProDeliveryMilepost> proDeliveryMilepostList;

	@TableField(exist = false)
	private User user;

	private String condition;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public int getFieldsId() {
		return fieldsId;
	}

	public void setFieldsId(int fieldsId) {
		this.fieldsId = fieldsId;
	}

	public int getRoundId() {
		return roundId;
	}

	public void setRoundId(int roundId) {
		this.roundId = roundId;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getBp() {
		return bp;
	}

	public void setBp(String bp) {
		this.bp = bp;
	}

	public Float getStock() {
		return stock;
	}

	public void setStock(Float stock) {
		this.stock = stock;
	}

	public Float getMoney() {
		return money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	public int getUnit() {
		return unit;
	}

	public void setUnit(int unit) {
		this.unit = unit;
	}

	public String getContactsName() {
		return contactsName;
	}

	public void setContactsName(String contactsName) {
		this.contactsName = contactsName;
	}

	public String getContactsPhone() {
		return contactsPhone;
	}

	public void setContactsPhone(String contactsPhone) {
		this.contactsPhone = contactsPhone;
	}

	public String getLables() {
		return lables;
	}

	public void setLables(String lables) {
		this.lables = lables;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getProDetail() {
		return proDetail;
	}

	public void setProDetail(String proDetail) {
		this.proDetail = proDetail;
	}

	public Set<ProDeliveryOrganization> getProDeliveryOrganizationList() {
		return proDeliveryOrganizationList;
	}

	public void setProDeliveryOrganizationList(Set<ProDeliveryOrganization> proDeliveryOrganizationList) {
		this.proDeliveryOrganizationList = proDeliveryOrganizationList;
	}

	public Set<ProDeliveryMilepost> getProDeliveryMilepostList() {
		return proDeliveryMilepostList;
	}

	public void setProDeliveryMilepostList(Set<ProDeliveryMilepost> proDeliveryMilepostList) {
		this.proDeliveryMilepostList = proDeliveryMilepostList;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}